package com.honey.mybatis.generator.criteria.field;

import com.honey.compilation.java.Field;
import com.honey.core.types.FullyQualifiedJavaType;
import com.honey.core.types.JDKFullyQualifiedJavaType;
import com.honey.mybatis.generator.AbstractField;

public class TypeHandlerField extends AbstractField {
	private static final String FIELD_NAME = "typeHandler" ;
	
	private static final FullyQualifiedJavaType TYPE = JDKFullyQualifiedJavaType.getStringInstance();

	/*
	 * (non-Javadoc)
	 * @see com.honey.mybatis.generator.AbstractField#getFieldName()
	 */
	@Override
	protected String getFieldName() {
		return FIELD_NAME;
	}
	
	@Override
	protected FullyQualifiedJavaType getType() {
		return TYPE;
	}

	public static void main(String []args){
		TypeHandlerField f = new TypeHandlerField();
		Field field =  f.createField() ;
		System.out.println(field.compiledContent(1));
	}
}
